<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="java.util.List" %> 
<%@ page import="first.liter.Literature" %> 
<html><body>

<div class="fm" style="background-color:#A9A9A9; border:10px;width:500;height:50;margin: 10 auto;border-radius: 1em;">
<H1 align=center style="font-family:verdana;" >Results</H1>
</div>
<div style="overflow:scroll; height:400;width:500; margin: 10 auto;border-radius: 1em;border-style: ridge;scrollbar-radius: 1em;">
<form class="fm" style="background-color:#A9A9A9; border:10px;width:450;">
<%
    List<Literature> litter = (List<Literature>) request.getAttribute("litter");
    if (litter.isEmpty()) {
%>
<H2>There are no Administrators with the specified parameters</H2>

<%
    } else {
        for(Literature s : litter) {
%>
<div class="txt" style="color:#00FF00;" align=left>
<%=s.toString()%><br/>
  <br/>
  <br/>
</div> 
<style type="text/css">
.txt {
background-color:yellow;
border: solid thick grey;
margin: 10 auto;
    border-radius: 1em
}
.tt {
border: solid grey;
margin: 10 auto;
    border-radius: 1em
}

.fm
{

border: solid grey;
margin: 10 auto;
    border-radius: 1em

}

.but
{
    border-radius: 1em

}

</style>
<%
        }
    }
%>
</form>
</div>
</body>
</html>
